﻿using System;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Entities.Users;

namespace YourCompany.Modules.Cafeteria
{
	public class CafeteriaOrder
	{
		//private vars exposed thro the
		//properties
		private int _OrderID;
		private int _ItemID;
		private int _ItemQuantity;
		private string _Room;
		private int _TotalPrice;
		private DateTime _Time;
		private string _ByUser;
		private bool _Completed;

		#region properties

		public int OrderID
		{
			get { return _OrderID; }
			set { _OrderID = value; }
		}

		public int ItemID
		{
			get { return _ItemID; }
			set { _ItemID = value; }
		}

		public int ItemQuantity
		{
			get { return _ItemQuantity; }
			set { _ItemQuantity = value; }
		}

		public string Room
		{
			get { return _Room; }
			set { _Room = value; }
		}

		public int TotalPrice
		{
			get { return _TotalPrice; }
			set { _TotalPrice = value; }
		}

		public DateTime Time
		{
			get { return _Time; }
			set { _Time = value; }
		}

		public string ByUser
		{
			get { return _ByUser; }
			set { _ByUser = value; }
		}

		public bool Completed
		{
			get { return _Completed; }
			set { _Completed = value; }
		}

		#endregion
	}
}
